package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import com.xbongbong.pro.formdata.pojo.SaasSpecialParamPojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zhouwq
 * @date 2019/11/29 10:47
 */
@Getter
@Setter
@ToString
public class ButtonGetDTO extends BaseDTO {

    private static final long serialVersionUID = 2111652762893998931L;

    /**
     * 应用id
     */
//    @NotNull(message = "应用id不能为空")
    private Long appId;

//    @NotNull(message = "菜单id不能为空")
    @Getter(onMethod_ = {@QueryIgnore})
    private Long menuId;

    private Long formId;

    @NotNull(message = "{dto.msg.buttonGet.dataIdIn.NotNull}")
    private List<Long> dataIdIn;

    /**
     * 业务类型
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer businessType;

    /**
     * 来源业务类型
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer linkBusinessType;


    @Getter(onMethod_ = {@QueryIgnore})
    private SaasSpecialParamPojo saasSpecialParamPojo;
}
